<?php

/*

Add Topic (global_add_topic.php)

*/

$interactive = 1;
$page_title = "Add Global Topic";
$rank_check = 3;
include "header.inc.php";

print "
<SCRIPT LANGUAGE=\"JavaScript\">
function insertSmiley(code)
{
	document.post_topic.add_message.value += code;
}
</script>
";

print "<CENTER><FORM NAME=post_topic ACTION=\"$base_url/global_add_topic.pro.php?game=$game\" METHOD=POST>";

if ($getInfo[premium] == "1")
{

ECHO <<<PREM

<CENTER><TABLE BGCOLOR="#99CCFF" CELLSPACING=0 CELLPADDING=0 WIDTH=300>
   <TR>
      <TD HEIGHT=25>
         <P><B>Text Color:&nbsp;&nbsp;&nbsp;</B></P>
      </TD>
      <TD HEIGHT=25>
         <P><SELECT NAME=text_color>
            <OPTION value="#000000">Black
        	<OPTION value="#FFFFFF">White
            <OPTION value="#990000">Dark Red
			<OPTION value="#FF0000">Red
			<OPTION value="#FF9999">Light Red
			<OPTION value="#FF3300">Orange Red
			<OPTION value="#FFCC99">Light Orange
			<OPTION value="#FFCC00">Orange
			<OPTION value="#FFFF33">Yellow
			<OPTION value="#006600">Green
			<OPTION value="#00FF00">Light Green
			<OPTION value="#009999">Green Blue
			<OPTION value="#00FFFF">Light Blue
			<OPTION value="#0066FF">Blue
			<OPTION value="#0000FF">Dark Blue
			<OPTION value="#9900CC">Purple
			<OPTION value="#CCCCFF">Light Purple
			<OPTION value="#FF0099">Pink
			<OPTION value="#FF99FF">Light Pink
         </SELECT></P>
      </TD>
   </TR>
   <TR BGCOLOR="#66CCFF">
      <TD HEIGHT=25>
         <P><B>Background Color:&nbsp;&nbsp;&nbsp;</B></P>
      </TD>
      <TD HEIGHT=25>
         <P><SELECT NAME=bg_color>
            <OPTION value="#FFFFFF">White
        	<OPTION value="#000000">Black
            <OPTION value="#990000">Dark Red
			<OPTION value="#FF0000">Red
			<OPTION value="#FF9999">Light Red
			<OPTION value="#FF3300">Orange Red
			<OPTION value="#FFCC99">Light Orange
			<OPTION value="#FFCC00">Orange
			<OPTION value="#FFFF33">Yellow
			<OPTION value="#006600">Green
			<OPTION value="#00FF00">Light Green
			<OPTION value="#009999">Green Blue
			<OPTION value="#00FFFF">Light Blue
			<OPTION value="#0066FF">Blue
			<OPTION value="#0000FF">Dark Blue
			<OPTION value="#9900CC">Purple
			<OPTION value="#CCCCFF">Light Purple
			<OPTION value="#FF0099">Pink
			<OPTION value="#FF99FF">Light Pink
         </SELECT></P>
      </TD>
   </TR>
   <TR>
      <TD HEIGHT=25>
         <P><B>Background Image:&nbsp;&nbsp;&nbsp;</B></P>
      </TD>
      <TD HEIGHT=25>
         <P><SELECT NAME=bg_image>
            <OPTION>None
            <OPTION value=hearts>Hearts
            <OPTION value=clover>Clover
            <OPTION value=rainbow>Rainbow
            <OPTION value=cookie>Cookie
            <OPTION value=ghost>Ghost
            <OPTION value=flower>Flowers
            <OPTION value=dollar>Dollar Sign
            <OPTION value=cross>Cross
            <OPTION value=duct_tape>Duct Tape
         </SELECT></P>
      </TD>
   </TR>
</TABLE>
</CENTER>

PREM;

}

ECHO <<<END

<CENTER><TABLE BGCOLOR="$tableOutline"
CELLSPACING=1 CELLPADDING=0 WIDTH=520> <TR BGCOLOR="$topAndBottomBG"> <TD COLSPAN=2 HEIGHT=50>
<CENTER><FONT SIZE="+2" COLOR="$topAndBottomText">--Add Topic--</FONT></CENTER> </TD> </TR> <TR> <TD
COLSPAN=2 BGCOLOR="$maincellColor"> <CENTER><A HREF="global_forums.php?game=$game">Back to the
Forums</FONT></A></CENTER> </TD> </TR> <TR BGCOLOR="$reallyLight"> <TD WIDTH=100
HEIGHT=30> <P>Topic</P> </TD> <TD HEIGHT=30> <P><INPUT TYPE=text NAME="add_subject" VALUE=""
SIZE=38></P> </TD> </TR><TR BGCOLOR="#FFFFFF"> <TD WIDTH=100>
<P>Message</P> </TD> <TD>

         <CENTER><TABLE CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
            <TR>
               <TD WIDTH=100>
                  <CENTER><TABLE BGCOLOR="#E3E3E3" CELLSPACING=0 CELLPADDING=0 WIDTH=80 HEIGHT=90>
                     <TR>
                        <TD>
                           <CENTER>
                           	<a href='javascript:;' onClick='insertSmiley(" >:O ");
	return false;'><IMG SRC="images/smilies/spid3r/angry.gif" WIDTH=16 HEIGHT=16></a>
                           <a href='javascript:;' onClick='insertSmiley(" :-d ");
	return false;'><IMG SRC="images/smilies/spid3r/bigsmile.gif" WIDTH=16 HEIGHT=16></a>
                           <a href='javascript:;' onClick='insertSmiley(" :*( ");
	return false;'><IMG SRC="images/smilies/spid3r/crying.gif" WIDTH=16 HEIGHT=16></a><BR>
                           <a href='javascript:;' onClick='insertSmiley(" 0_o ");
	return false;'><IMG SRC="images/smilies/spid3r/oosmilie.gif" WIDTH=16 HEIGHT=16></a>
                           <a href='javascript:;' onClick='insertSmiley(" :-p ");
	return false;'><IMG SRC="images/smilies/spid3r/psmile.gif" WIDTH=16 HEIGHT=16></a>
                           <a href='javascript:;' onClick='insertSmiley(" :( ");
	return false;'><IMG SRC="images/smilies/spid3r/sad.gif" WIDTH=16 HEIGHT=16></a><BR>
                           <a href='javascript:;' onClick='insertSmiley(" :) ");
	return false;'><IMG SRC="images/smilies/spid3r/smilie.gif" WIDTH=16 HEIGHT=16></a>
                           <a href='javascript:;' onClick='insertSmiley(" ;) ");
	return false;'><IMG SRC="images/smilies/spid3r/wink.gif" WIDTH=16 HEIGHT=16></a>
							<a href='javascript:;' onClick='insertSmiley(" 8-) ");
	return false;'><IMG SRC="images/smilies/flowers65/cool.gif" WIDTH=16 HEIGHT=16></a>
                           </CENTER>
                        </TD>
                     </TR>
                  </TABLE>
                  </CENTER>
               </TD>
               <TD>
                  <CENTER><BR>
                  <TEXTAREA NAME="add_message" ROWS=10 COLS=40 WRAP=virtual></TEXTAREA><BR>
                  <BR>
                  </CENTER>
               </TD>
            </TR>
         </TABLE>
         </CENTER>
</TD> </TR> <TR BGCOLOR="$maincellColor"> <TD WIDTH=100 HEIGHT=30>
<P>Submit</P> </TD> <TD HEIGHT=30><P><INPUT TYPE=submit NAME=Submit VALUE="Post
Message"></P> </TD> </TR> <TR> <TD COLSPAN=2 HEIGHT=30 BGCOLOR="$topAndBottomBG"> <CENTER><FONT
SIZE="-1" COLOR="$topAndBottomText"><I>(You must be at least 13 to use the Global
Forums!)</I></FONT></CENTER> </TD> </TR> </TABLE> </CENTER> </FORM></CENTER>

END;

?>